package p1;

import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement
class Class {
	private float _credits;
	private short _courseNUM;
	private short _courseLevel;
	private boolean _taken;

	public Class(){
		_credits = 0.0f;
		_courseNUM = 100;
		_courseLevel = 101;
		_taken = false;
	}
	public Class(float credits, short courseNUM, short courseLevel, boolean taken){
		_credits = credits;
		_taken = taken;
		_courseNUM = courseNUM;
		_courseLevel = courseLevel;
	}
	
	public float getCredits(){ return _credits; }
	public void setCredits(float credits) { _credits = credits; }
	
	public boolean getTaken() { return _taken; }
	public void setTaken(boolean taken) { _taken = taken; }
	

}
